﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Entity.Calculator;

namespace TestsMyShop.Calculator_Tests
{
    [TestFixture]
    public class When_multiply_two_values
    {
        [Test]
        [TestCase(1, 2)]
        [TestCase(3, 5)]
        [TestCase(4, 6)]
        [TestCase(0, 1)]
        [TestCase(3, 7)]
        [TestCase(13, 1)]
        public void Should_multiply_one_value_to_another_value(decimal numberOne, decimal numberTwo)
        {
            // arrange
            ICalculator calc = new Calculator();

            // act
            var actualValue = calc.Multiply(numberOne, numberTwo);

            // assert
            Assert.AreEqual(numberOne * numberTwo, actualValue);
        }
    }
}
